package boerse.CommandProcessor;

import java.lang.reflect.InvocationTargetException;

public class Command extends CommandDescriptor implements Executable {

		
	public Command() {
		super();
	}

	@Override
	public Object execute() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
		return this.commandType.getMethodName().invoke(this.commandType.getTarget(), this.getParams());
	}

}
